package com.scf.service;

import com.scf.entity.EnterpriseIfmtion;
import com.scf.entity.PageBean;
import com.scf.uitl.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "enterprise")
public interface EnterpriseService {
    @GetMapping("/enp/allenp")
    public ResponseResult<PageBean<EnterpriseIfmtion>> getAll(@RequestParam("epname") String epname,@RequestParam("epstate") int epstate,@RequestParam("pageIndex") int pageIndex,@RequestParam("pageSize") int pageSize);
}
